package com.gy.niuer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gy.niuer.domain.Appointment;
import com.gy.niuer.domain.Patient;

import java.util.List;

/**
*
*/
public interface AppointmentService extends IService<Appointment> {

    void addAppointment(Appointment appointment);
    boolean addAppoint(int schedulId, Appointment appointment);
    boolean deleteAppoint(Appointment appointment);

    List<Appointment> selectById(int id);

    List<Appointment> getAllAppoint(int id);
}
